%Format, pdf

%-----------------------------------------------------------
%Custom commands
%--------------------------Latex----------------------------
\newcommand{\resitem}[1]{\item #1 \vspace{-2pt}}
\newcommand{\resheading}[1]{\vspace{8pt}
  \parbox{\textwidth}{\setlength{\FrameSep}{\outerbordwidth}
    \begin{shaded}
\setlength{\fboxsep}{0pt}\framebox[\textwidth][l]{\setlength{\fboxsep}{4pt}\fcolorbox{shadecolorB}{shadecolorB}{\textbf{\sffamily{\mbox{~}\makebox[6.762in][l]{\large #1} \vphantom{p\^{E}}}}}}
    \end{shaded}
  }\vspace{-5pt}
}

\newcommand{\ressubheading}[4]{
\begin{tabular*}{6.5in}{l@{\cftdotfill{\cftsecdotsep}\extracolsep{\fill}}r}
    \textbf{#1} & #2 \\
    \textit{#3} & \textit{#4} \\
\end{tabular*}\vspace{-6pt}}

%Basic Part
\newcommand{\basicPart}[6]{
\begin{tabular*}{7in}{l@{\extracolsep{\fill}}r}
\textbf{\Large #1} & \textbf{#2} \\
#3 & #4 \\
#5 & #6 \\
\end{tabular*}
}

% Awards Environment
\newenvironment{awards}[0]{
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\resheading{\awardsHeading}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  \vspace{-2pt}
  \begin{center}
  \begin{tabular*}{6.6in}{l@{\extracolsep{\fill}}r}
}
{
    \vphantom{E}
  \end{tabular*}
  \end{center}\vspace*{-16pt}
}
% For the awards, 1st: item-details, 2nd: time(year)
\newcommand{\awardsItem}[2]{
  \multicolumn{2}{c}{#1 \cftdotfill{\cftdotsep}#2}\\
}

